package com.zl.spring.obj;

public class Service {

    private String sname;
    private String sgerden;
    private Dao dao;

    public Dao getDao() {
        return dao;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public void setSgerden(String sgerden) {
        this.sgerden = sgerden;
    }

    public void setDao(Dao dao) {
        this.dao = dao;
    }

    public void getService(){
        System.out.printf(sname + "::" + sgerden + "::" + dao);
    }
}
